//
//  GMFUpperToolbarView.h
//  SplunkMobile
//
//  Created by lijunying on 1/28/2016.
//  Copyright © 2016 Gome. All rights reserved.
//

#import <UIKit/UIKit.h>
@class GMFUpperToolbarView;

@protocol UpperToolbarViewDelegate <NSObject>

/**
 *  @brief 代理方法
 *
 *  @param toolbarView 本view
 *  @param string      把按钮tag传到代理中
 */
- (void)upperToolbarView:(GMFUpperToolbarView *)toolbarView buttonTagString:(NSString *)string;

@end


@interface GMFUpperToolbarView : UIView

//@property (nonatomic, weak) UIButton *btnDraw;
@property (nonatomic, weak) UIButton *btnZoom;
@property (nonatomic, weak) UIButton *btnUndo;
@property (nonatomic, weak) UIButton *btnRedo;
@property (nonatomic, weak) UIButton *btnClear;
//@property (nonatomic, weak) UIButton *btnPalette;
//@property (nonatomic, weak) UIButton *btnAddText;

@property(nonatomic, weak) id<UpperToolbarViewDelegate> delegate;

@end
